package product

import (
	"github.com/gin-gonic/gin"
	v1 "vue-admin-server/api/v1"
)

type ChipSpecRouter struct{}

func (e *ChipSpecRouter) InitChipSpecRouter(Router *gin.RouterGroup) {
	//productRouter := Router.Group("chip_spec").Use(middleware.OperationRecord())
	productRouterWithoutRecord := Router.Group("chip")
	chipProductApi := v1.ApiGroupApp.ProductApiGroup.ChipProductApi
	{
		//productRouter.POST("product", chipProductApi.CreateExaProduct)   // 创建一个芯片产品
		//productRouter.PUT("product", chipProductApi.UpdateExaProduct)    // 更新芯片产品
		//productRouter.DELETE("product", chipProductApi.DeleteExaProduct) // 删除芯片产品
	}
	{
		productRouterWithoutRecord.GET("spec", chipProductApi.GetChipSpec)
	}
}
